﻿using Microsoft.OpenApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FastServer.SwaggerDocument
{
    /// <summary>
    /// 安全定义需求子项
    /// </summary>
    [AssemblyScanIgnore]
    public sealed class SwaggerOpenApiSecurityRequirementItem
    {

        /// <summary>
        /// 构造函数
        /// </summary>
        public SwaggerOpenApiSecurityRequirementItem()
        {

        }

        /// <summary>
        /// 安全Schema
        /// </summary>
        public OpenApiSecurityScheme? Scheme { get; set; }

        /// <summary>
        /// 权限
        /// </summary>
        public List<string> Accesses { get; set; } = new List<string>();
    }
}
